<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

spl_autoload_register();

use Lib\Medoo;

//database
$db = new Medoo([
    'database_type' => 'mysql',
    'database_name' => 'bbq',
    'server' => 'localhost',
    'username' => 'root',
    'password' => '123456',
    'charset' => 'utf8',
        ]);

//Web
//Your Site Url
$SiteHost = $_SERVER['HTTP_HOST'];
$SiteDir = 'newbbq';
$BaseUrl = 'http://' . $SiteHost . '/' .  $SiteDir;

$title = "表白墙";
